<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:69:"D:\phpStudy\WWW\mangmeshi/./application/admin\view\user\userinfo.html";i:1531051762;}*/ ?>
<div>
    <form class="form-horizontal bv-form"  role="form" >
        <fieldset>
            <legend>基本信息</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">用户名/公司名</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled value="<?php echo $data['user_username']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">手机号码</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled  value="<?php echo $data['user_phone']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">性别</label>
                &nbsp;&nbsp;&nbsp;
                <div class="col-sm-5">
                    <label><input disabled type="radio" value="1" <?php if($data['user_gender'] == 1): ?> checked <?php endif; ?>>&nbsp;&nbsp;&nbsp;男</label>
                    <label style="margin-left:30px;"><input disabled type="radio" value="0" <?php if($data['user_gender'] == 2): ?> checked <?php endif; ?>>&nbsp;&nbsp;&nbsp;女</label>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">头像</label>
                <div class="col-sm-6">
                    <?php if($data['user_image']): ?>
                    <img src="<?php echo $data['user_image']; ?>" alt="头像" style="width:200px;height:200px;">
                    <?php else: ?>
                    暂无头像
                    <?php endif; ?>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">注册时间</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled value="<?php echo $data['user_time']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">个人介绍/公司简介</label>
                <div class="col-sm-6">
                    <textarea class="form-control" cols="35" rows="5" disabled><?php echo $data['user_content']; ?></textarea>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">总共赞数</label>
                <div class="col-sm-6">
                    <input type="text" class="form-control" disabled value="<?php echo $data['user_zan']; ?>">
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">生活照</label>
                <div class="col-sm-6">
                    <?php if(!$data['ew_life_photos']): ?>暂无图片<?php endif; ?>
                </div>
            </div>
            <?php if($data['ew_life_photos']): ?>
            <div style="width: 100%;">
                <?php if(is_array($data['ew_life_photos']) || $data['ew_life_photos'] instanceof \think\Collection): $i = 0; $__LIST__ = $data['ew_life_photos'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$img): $mod = ($i % 2 );++$i;?>
                <img src="<?php echo $img; ?>" alt="" style="width: 30%;height: auto;margin-left: 2%;margin-bottom: 10px;"/>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </div>
            <?php endif; ?>
        </fieldset>
    </form>
</div>